<div class="main_content" id="main_content">
	<div id="printArea" class="printArea">
		<table width="98%" name="tab_print" id="tab_print" class="tab_print" border="0" cellpadding="0" cellspacing="1" align="left">
		<tbody>
			<tr><td colspan="8" class="tab_title">设备转资</td></tr>
			<tr><td colspan="8">转资单号: {%$transfer_from_no%}&nbsp;&nbsp;&nbsp;&nbsp;合同编号: {%$contract_no%} </td></tr>
			<tr>
				<td>转资金额</td>
				<td>{%$transfer_price%}</td>
				<td>经办日期</td>
				<td>{%$transfer_time|date_format:"%Y-%m-%d"%}</td>								
				<td colspan="4"></td>
			</tr>
			{%if $recordArr%}
			<tr class="txtbold">
				<td width="10%">序号</td>
				<td width="20%">厂家编号</td>
				<td width="15%">财务编号</td>
				<td width="15%">转资数量</td>
				<td>转资备注</td>
			</tr>
			{%foreach item=list from=$recordArr name="rec"%}
			<tr>
				<td>{%math equation="x + 1" x=$smarty.foreach.rec.index%}</td>
				<td>{%$list.comp_no%}</td>
				<td>{%$list.finance_no%}</td>
				<td>{%$list.transfer_no%}</td>
				<td>{%$list.transfer_info%}</td>
			</tr>
			{%/foreach%}
			{%/if%}
		</table>
	</div>
	
	<div class="btn_list">
		<span class="btn_add" onclick="doPrint()">打 印</span>
	</div>
</div>

<script type="text/javascript">
function doPrint() {
	$("#printArea").printArea();;
}
</script>